public class Main {
    public static void main(String[] args) {
        System.out.printf("%d\n",100);//十进制整数
        System.out.printf("%x\n",100);//十六进制整数
        System.out.printf("%o\n",100);//八进制整数
        System.out.printf("%f\n",100f);//定点浮点数
        System.out.printf("%e\n",100f);//指数浮点数
        System.out.printf("%g\n",100f);//通用浮点数
        System.out.printf("%a\n",100.0);//十六进制浮点数
        System.out.printf("%s\n",100);//字符串
        System.out.printf("%c\n",100);//字符
        System.out.printf("%d\n",100);//布尔值
    }
}
